﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Service.DomianService.Models;

namespace WCS_Service.DomianService.Interface
{
    public interface ICommonResDomainService
    {
        Task<bool> QueryCommonRoadwayStateAsync();
        Task<bool> RoadwayStateUpdateAsync(string roadwayCode, bool state);
        Task ReleaseCommonRoadwayAsync();
        Task ReleaseRoadwayAsync(string roadWayId);
        Task ReleaseWaitCommonRoadwayAsync();
        Task AddWaitCommonRoadwayQueueAsync(string opticalId, string agvId);
        Task<RoadWayModel> GetRaodWayStateAsync(string roadWayCode);
        string GetCommonRoadway();
    }
}
